javascript string interview questions